Model Counting for 2SAT Based on Graphs by Matrix Operators
نویسندگان
چکیده
Counting the models of Boolean formulae is known to be intractable but pops up often in diverse areas. We focus in a restricted version of the problem. In particular, our results are based on matrix operators and Hadamard product for counting models of Boolean formulae consisting of chains and embedded cycles. We obtain an efficient algorithm such that the input is a Boolean formula Σ in 2-CNF and the output can be either a charged Boolean formula Σ′ simpler than Σ or the number of models of Σ (the charge of a Boolean formula Σ is introduced as a vector in N, which contains information about the number of models of Σ). In the latter case, Σ belongs to a tractable class of Boolean formulae in 2CNF for #SAT that contains the classes 2μ-2SAT and Acyclic-2HORN.
منابع مشابه
A Note for Parametric Complexity of #2SAT
We present some results about the parametric complexity for counting the number of truth assignments for two Conjunctive Forms (2CF’s), such problem is denoted as #2SAT. It is common to analyze the computational complexity for #2SAT regarding the number of variables or the number of clauses on the input formula F We consider here, the time complexity analysis for #2SAT based on a positive integ...
متن کاملFast counting of medium-sized rooted subgraphs
We prove that counting copies of any graph F in another graph G can be achieved using basic matrix operations on the adjacency matrix of G. Moreover, the resulting algorithm is competitive for medium-sized F : our algorithm recovers the best known complexity for rooted 6-clique counting and improves on the best known for 9-cycle counting. Underpinning our proofs is the new result that, for a ge...
متن کاملCounting Invertible Schrödinger Operators over Finite Fields for Trees, Cycles and Complete Graphs
We count invertible Schrödinger operators (perturbations by diagonal matrices of the adjacency matrix) over finite fields for trees, cycles and complete graphs. This is achieved for trees through the definition and use of local invariants (algebraic constructions of perhaps independent interest). Cycles and complete graphs are treated by ad hoc methods.
متن کاملA Novel Method for Counting Models on Grid Boolean Formulas
We research on the possible orientations patterns of a grid graph G, and propose a method for counting certain combinatorial structures over the class of orientations of G. For example, our method can be applied for counting sink-free orientations of G, as well as it can be applied for solving the #2SAT problem for grid Boolean formulas. Our proposal extends the classical transfer matrix method...
متن کاملNew Polynomial Classes for #2SAT Established Via Graph-Topological Structure
We address the problem of designing efficient procedures for counting models of Boolean formulas and, in this task, we establish new classes of instances where #2SAT is solved in polynomial time. Those instances are recognized by the topological structure of the underlying graph of the instances. We show that, if the depth-search over the constrained graph of a formula generates a tree where th...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Engineering Letters
دوره 15 شماره
صفحات -
تاریخ انتشار 2007